package com.yicong.ants.bean.tourism;

import com.yicong.ants.bean.account.UserBean;

/**
 * @author cchao
 * @version 2019-07-04.
 */
public class MyCardInfo extends UserBean {
    private String card_place_hold;
    private String card_function_src;

    public MyCardInfo() {
    }

    public String getCard_place_hold() {
        return this.card_place_hold;
    }

    public String getCard_function_src() {
        return this.card_function_src;
    }

    public void setCard_place_hold(String card_place_hold) {
        this.card_place_hold = card_place_hold;
    }

    public void setCard_function_src(String card_function_src) {
        this.card_function_src = card_function_src;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof MyCardInfo)) return false;
        final MyCardInfo other = (MyCardInfo) o;
        if (!other.canEqual((Object) this)) return false;
        if (!super.equals(o)) return false;
        final Object this$card_place_hold = this.getCard_place_hold();
        final Object other$card_place_hold = other.getCard_place_hold();
        if (this$card_place_hold == null ? other$card_place_hold != null : !this$card_place_hold.equals(other$card_place_hold))
            return false;
        final Object this$card_function_src = this.getCard_function_src();
        final Object other$card_function_src = other.getCard_function_src();
        if (this$card_function_src == null ? other$card_function_src != null : !this$card_function_src.equals(other$card_function_src))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof MyCardInfo;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = super.hashCode();
        final Object $card_place_hold = this.getCard_place_hold();
        result = result * PRIME + ($card_place_hold == null ? 43 : $card_place_hold.hashCode());
        final Object $card_function_src = this.getCard_function_src();
        result = result * PRIME + ($card_function_src == null ? 43 : $card_function_src.hashCode());
        return result;
    }

    public String toString() {
        return "MyCardInfo(card_place_hold=" + this.getCard_place_hold() + ", card_function_src=" + this.getCard_function_src() + ")";
    }
}
